package com.yunhai.ucenter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yunhai.common.dto.PaginationVo;
import com.yunhai.model.entity.ums.UmsRole;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author mengze
 * @since 2023-08-23
 */
public interface SysRoleService  {

    void addRole(UmsRole sysRole) throws Exception;

    void updateRole(UmsRole sysRole) throws Exception;

    void batchRemoveRole(List<Long> ids) throws Exception;

    public IPage paginationRoleList(PaginationVo paginationVo) throws Exception;

    List<UmsRole> allRoleList() throws Exception;
}
